#ifndef PROTECT_BUDDY_SYSTEM
#define PROTECT_BUDDY_SYSTEM

#include "defines.h"

#define HASH_DELETE_FAIL		-4
#define PTR_UNAVAILABLE			-1
#define DISK_ALLOC_FAIL			-2
#define NOT_HAVE_ENOUGH_SPACE		-3
#define	DISK_INIT_SUCCESS		0
#define	DISK_INIT_FAIL			-1

STATE	disk_init(INIT_TYPE init_type, char* image, const char* disk_log_file, const int disk_size_in_chunk);
void	disk_exit();
int	disk_alloc(int);
void	disk_free(int);

#endif

